package com.sntra.beibi.service;

import java.util.List;

import com.sntra.beibi.domain.Book;
import com.sntra.beibi.domain.LearnPage;
import com.sntra.beibi.domain.Page;

public interface BookService {
	
    Page selectPage(Page page);
    
    int updateImgStatus(Page page);

    boolean addBook (Book Book);

    boolean updateBookMsg(Book Book);

    boolean updateBookImg(Book Book);

    boolean deleteBook(Integer id);

    List<Book> allBook();

    List<Book> likeTitle(String title);
    
    List<Book> bookOfTitle(String title);

}
